/* color palette from <https://github.com/vuejs/theme> */
:root {
  --vt-c-white: #ffffff;
  --vt-c-white-soft: #f8f8f8;
  --vt-c-white-mute: #f2f2f2;

  --vt-c-black: #181818;
  --vt-c-black-soft: #222222;
  --vt-c-black-mute: #282828;

  --vt-c-indigo: #2c3e50;

  --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
  --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
  --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
  --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);

  --vt-c-text-light-1: var(--vt-c-indigo);
  --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
  --vt-c-text-dark-1: var(--vt-c-white);
  --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
}

/* semantic color variables for this project */
:root {
  --color-background: var(--vt-c-white);
  --color-background-soft: var(--vt-c-white-soft);
  --color-background-mute: var(--vt-c-white-mute);

  --color-border: var(--vt-c-divider-light-2);
  --color-border-hover: var(--vt-c-divider-light-1);

  --color-heading: var(--vt-c-text-light-1);
  --color-text: var(--vt-c-text-light-1);

  --section-gap: 160px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-background: var(--vt-c-black);
    --color-background-soft: var(--vt-c-black-soft);
    --color-background-mute: var(--vt-c-black-mute);

    --color-border: var(--vt-c-divider-dark-2);
    --color-border-hover: var(--vt-c-divider-dark-1);

    --color-heading: var(--vt-c-text-dark-1);
    --color-text: var(--vt-c-text-dark-2);
  }
}
html, body, #app {
  height: 100%;
  min-height: 100vh;
  width: 100vw;
}
body, #app {
  min-height: 100vh;
  width: 100vw;
  /* 渐变背景 */
  background: linear-gradient(135deg, #f7f9fb 60%, #e3eefa 100%);
}
.main-center {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f9fb;
  z-index: 1;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  font-weight: normal;
}

body {
  min-height: 100vh;
  color: #303133;
  background: #F5F7FA;
  transition:
    color 0.5s,
    background-color 0.5s;
  line-height: 1.6;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.el-card, .el-dialog, .el-form, .el-table, .el-input, .el-select, .el-button {
  border-radius: 6px !important;
}

.el-card {
  background: #fff;
}

h1, h2, h3, h4, h5 {
  color: #303133;
  font-weight: 600;
}

.el-button--primary {
  background-color: #409EFF;
  border-color: #409EFF;
}

.el-button {
  font-size: 13px;
  border-radius: 6px;
}

.el-input__inner, .el-select .el-input__inner {
  border-radius: 6px;
}

.el-table th, .el-table td {
  color: #303133;
}

.el-form-item__label {
  color: #606266;
}

.el-divider {
  border-color: #EBEEF5;
}

.el-input__inner:disabled, .el-select .el-input__inner:disabled {
  color: #C0C4CC;
}

.login-card, .register-card {
  max-width: 420px;
  min-width: 340px;
  margin: 60px auto;
  padding: 40px 32px 24px 32px;
  box-shadow: 0 4px 32px 0 rgba(64,158,255,0.08);
}
@media (max-width: 500px) {
  .login-card, .register-card {
    max-width: 98vw;
    min-width: unset;
    padding: 20px 6vw;
  }
}

.main-content-container {
  width: 100%;
  max-width: 1100px;
  margin: 32px auto 0 auto;
  padding: 0 16px;
}
